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