manager.applyChange(new AddAxiom(ontology, rule));
OWLObjectProperty prop = factory.getOWLObjectProperty(IRI
.create(ontologyIRI + "#propA"));
OWLObjectProperty propB = factory.getOWLObjectProperty(IRI
.create(ontologyIRI + "#propB"));
SWRLObjectPropertyAtom propAtom = factory.getSWRLObjectPropertyAtom(
prop, var, var);
SWRLObjectPropertyAtom propAtom2 = factory.getSWRLObjectPropertyAtom(
propB, var, var);
Set<SWRLAtom> antecedent = new HashSet<SWRLAtom>();
antecedent.add(propAtom);
antecedent.add(propAtom2);
SWRLRule rule2 = factory.getSWRLRule(antecedent,