code: public DatalogProgram createDatalog(SWRLRule rule){
  		
  
  		rule.accept(this);
  	
  		if (notSupported){
  			log.warn("Not Supported Translation of: "+ errors);
  			errors.clear();
  		}
  
  		DatalogProgram dp = datalogFactory.getDatalogProgram();
  		dp.appendRule(facts);
  		return dp;
  	}
docs: Translate the swrl_rule
  Return a datalog program containing the supported datalog facts
  @param rule an SWRLRule
  @return DatalogProgram