KnowledgeBase kbase = loadKnowledgeBaseFromString( str );
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
Person mark = new Person( "mark" );
mark.setAddress( new LongAddress( "uk" ) );
ksession.insert( mark );
assertEquals( 1, ksession.fireAllRules() );
ksession.dispose();
}