RelationshipPredicate trigger = new RelationshipPredicate(relations[0], new SpecVar[] {new SpecVar("a"), new SpecVar("b")});
List<RelEffect> eff = new LinkedList<RelEffect>();
eff.add(RelEffect.createRemoveEffect(relations[0], new SpecVar[] {new SpecVar("a"), new SpecVar("a")}));
InferredRel inf = new InferredRel(trigger, eff);
infEnv.addRule(inf);
RelationshipPredicate find = new RelationshipPredicate(relations[0], new SpecVar[] {new SpecVar("a"), new SpecVar("a")});
Substitution sub = new Substitution();
sub = sub.addSub(new SpecVar("a"), labels[0]);
sub = sub.addSub(new SpecVar("b"), labels[1]);