insertStage.setReceiver( batchExecution );
Pipeline pipeline = PipelineFactory.newStatelessKnowledgeSessionPipeline( ksession );
pipeline.setReceiver( insertStage );
ResultHandlerImpl resultHandler = new ResultHandlerImpl();
pipeline.insert( "hello", resultHandler );
assertEquals( 2, list.size() );
assertTrue( list.contains( "rule1" ) );
assertTrue( list.contains( "rule2" ) );