" </connections>" +
"" +
"</process>");
builder.addRuleFlow(source);
Package pkg = builder.getPackage();
RuleBase ruleBase = RuleBaseFactory.newRuleBase();
ruleBase.addPackage( pkg );
WorkingMemory workingMemory = ruleBase.newStatefulSession();
List<Long> list = new ArrayList<Long>();
workingMemory.setGlobal("list", list);
Map<String, Object> params = new HashMap<String, Object>();
params.put("name", "John Doe");