newStep( 0l );
addCommand( new NewKnowledgeBaseCommand(null) );
addCommand( new SetVariableCommandFromLastReturn( KnowledgeBase.class.getName() ));
addCommand( new NewKnowledgeBuilderCommand( null, KnowledgeBase.class.getName() ) );
addCommand( new SetVariableCommandFromLastReturn( KnowledgeBuilder.class.getName() ));
KnowledgeSessionConfiguration ksessionConf = KnowledgeBaseFactory.newKnowledgeSessionConfiguration();
ksessionConf.setOption( ClockTypeOption.get( "pseudo" ) );
addCommand( new NewStatefulKnowledgeSessionCommand( ksessionConf ) );
addCommand( new SetVariableCommandFromLastReturn( StatefulKnowledgeSession.class.getName() ));
return new FluentCompactStatefulKnowledgeSessionImpl(this);
}