public void testTranslateRule() {
kb.addObjectProperty(pi);
kb.addIndividual(a);
IndividualPropertyAtom bodyAtom = new IndividualPropertyAtom(pi, vx, ca);
TermTuple bodyTriple = new TermTuple(DependencySet.INDEPENDENT, pi, vrx, cra);
SameIndividualAtom headAtom = new SameIndividualAtom(vx, ca);
TermTuple headTriple = new TermTuple(DependencySet.INDEPENDENT, Compiler.SAME_AS, vrx, cra);
Rule rule = new Rule(Collections.singletonList((RuleAtom) headAtom), Collections
.singletonList((RuleAtom) bodyAtom));
com.clarkparsia.pellet.rules.rete.Rule reteRule = new com.clarkparsia.pellet.rules.rete.Rule(Collections