try
{
AdaptableAtom jenaAtom = jenaAtomClass.newInstance();
if(jenaAtom instanceof VariableAtom){
System.out.println("Class equals");
}
jenaAtom.setRuleAdapter(this);
return (T) jenaAtom.adapt(ruleAtom);
} catch (InstantiationException e) {
log.error(e.getMessage(), e);
} catch (IllegalAccessException e) {
log.error(e.getMessage(), e);