ruleBase = SerializationHelper.serializeObject(ruleBase);
StatefulSession session = ruleBase.newStatefulSession();
session = SerializationHelper.getSerialisedStatefulSession(session);
List<String> list = new ArrayList<String>();
session.setGlobal("list", list);
ProcessInstance processInstance = session.startProcess("org.drools.integrationtests.multithread");
final ProcessInstanceSignalRunner[] r = new ProcessInstanceSignalRunner[THREAD_COUNT];
for ( int i = 0; i < t.length; i++ ) {
r[i] = new ProcessInstanceSignalRunner(i, processInstance, "event" + (i+1));
t[i] = new Thread( r[i], "thread-" + i );
t[i].start();