conf.setAssertBehaviour( RuleBaseConfiguration.AssertBehaviour.IDENTITY );
final RuleBase ruleBase = RuleBaseFactory.newRuleBase( conf );
final StatefulSession session = ruleBase.newStatefulSession();
CheeseEqual cheese = new CheeseEqual("stilton", 10);
session.insert(cheese);
FactHandle fh1 = session.getFactHandle(new Cheese("stilton", 10));
assertNull(fh1);
FactHandle fh2 = session.getFactHandle( cheese );
assertNotNull(fh2);