JenaVariableMap jenaVariableMap = new JenaVariableMapImpl();
Iterator<RuleAtom> it = this.head.iterator();
for(int i=0; it.hasNext(); i++){
RuleAtom atom = it.next();
JenaClauseEntry jenaClauseEntry = atom.toJenaClauseEntry(jenaVariableMap);
head[i] = jenaClauseEntry.getClauseEntry();
}
it = this.body.iterator();