Properties properties = new Properties();
properties.setProperty( "drools.shadowProxyExcludes",
"org.drools.Cheese" );
RuleBaseConfiguration conf = new RuleBaseConfiguration( properties );
final ReteooRuleBase ruleBase = (ReteooRuleBase) RuleBaseFactory.newRuleBase( conf );
buildContext = new BuildContext( ruleBase,
((ReteooRuleBase) ruleBase).getReteooBuilder().getIdGenerator() );
final ReteooWorkingMemory workingMemory = new ReteooWorkingMemory( 1,
ruleBase );
// Create a Rete network with ObjectTypeNodes for List, Collection and ArrayList