GdlList succs = parser_.parse("(succ 1 2) (succ 2 2) (succ 1 3) (succ 2 3) (succ 3 2) (succ 2 1)");
addFacts(succs);
Expression conjunct = VariableFact.fromList( parser_.parse("succ 2 ?x") );
Expression conjunct2 = VariableFact.fromList( parser_.parse("pop ?x") );
Implication rule = new Implication( VariableFact.fromList(parser_.parse("gt ?x")), conjunct, conjunct2);
Expression conjunct3 = VariableFact.fromList( parser_.parse("succ ?y 2") );
Implication rule2 = new Implication( VariableFact.fromList(parser_.parse("pop ?y")), conjunct3);
ArrayList<Implication> rules = new ArrayList<Implication>();
rules.add(rule);
rules.add(rule2);