final RuleBase ruleBase = getRuleBase();
ruleBase.addPackage( pkg );
StatefulSession session = ruleBase.newStatefulSession();
assertNotNull( session );
Pet pet1 = new Pet( "Toni" );
pet1.getAttributes().put( "key",
"value" );
Pet pet2 = new Pet( "Toni" );
session.insert( pet1 );
session.insert( pet2 );
session.fireAllRules();