ksession = kAgent.getKnowledgeBase().newStatefulKnowledgeSession();
TruthMaintenanceSystem tms = ((StatefulKnowledgeSessionImpl)ksession).session.getTruthMaintenanceSystem();
Message message = new Message( );
message.setMessage("Hello World");
message.setStatus(Message.HELLO);
FactHandle fact = ksession.insert(message);
Message message2 = new Message();
message2.setMessage("Hello World 2");
message2.setStatus(Message.HELLO);
FactHandle fact2 = ksession.insert(message2);
Message message3 = new Message();
message3.setMessage("Hello World 3");
message3.setStatus(Message.HELLO);
FactHandle fact3 = ksession.insert(message3);
ksession.fireAllRules();
assertEquals( 12, ksession.getObjects().size() );