workingMemory );
/* create a rule for each module */
Rule rule0 = new Rule( "test-rule0" );
rule0.setConsequence( consequence );
PropagationContext context0 = new PropagationContextImpl( PropagationContext.ASSERTION,
rule0,
new AgendaItem( tuple,
initContext,
rule0 ) );
Rule rule1 = new Rule( "test-rule1",
"module1" );
rule1.setConsequence( consequence );
PropagationContext context1 = new PropagationContextImpl( PropagationContext.ASSERTION,
rule1,
new AgendaItem( tuple,
initContext,
rule0 ) );
Rule rule2 = new Rule( "test-rule2",
"module2" );
rule2.setConsequence( consequence );
PropagationContext context2 = new PropagationContextImpl( PropagationContext.ASSERTION,
rule2,
new AgendaItem( tuple,
initContext,
rule0 ) );
Rule rule3 = new Rule( "test-rule3",
"module3" );
rule3.setConsequence( consequence );
PropagationContext context3 = new PropagationContextImpl( PropagationContext.ASSERTION,
rule3,
new AgendaItem( tuple,
initContext,
rule0 ) );