" Strings( containsAny(new String[] {\"1\", \"2\"}) )\n" +
"then\n" +
" anyList.add(\"1\");\n" +
"end\n";
KnowledgeBase kbase = loadKnowledgeBaseFromString(str);
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
List<String> allList = new ArrayList<String>();
ksession.setGlobal("allList", allList);
List<String> anyList = new ArrayList<String>();
ksession.setGlobal("anyList", anyList);