final KieSession ksession = kc.newKieSession( "Invaders4KS");
InvadersConfiguration conf = new InvadersConfiguration();
conf.setExitOnClose(exitOnClose);
GameUI ui = new GameUI(ksession, conf);
ui.init();
ksession.setGlobal( "conf", conf );
ksession.setGlobal( "ui", ui );
runKSession(ksession);