"end";
StatefulKnowledgeSession ksession = getSessionFromString(drl);
TraitFactory.setMode( mode, ksession.getKnowledgeBase() );
ksession.addEventListener( new DebugAgendaEventListener( ) );
ksession.insert( new TraitableFoo( "xx", 0, null ) );
ksession.fireAllRules();
for ( Object o : ksession.getObjects() ) {