StatefulKnowledgeSession ksession = createKnowledgeSession( kbase );
kbase = SerializationHelper.serializeObject( kbase );
ksession.insert( new FirstClass() );
ksession.insert( new SecondClass() );
ksession.insert( new FirstClass.AlternativeKey() );
ksession.insert( new SecondClass.AlternativeKey() );
ksession.fireAllRules();