// load rules and initialise reasoner
InputStream rules = GlozeURL.class.getResourceAsStream(RULES);
BufferedReader br = new BufferedReader(new InputStreamReader(rules));
List<Rule> l = Rule.parseRules(Rule.rulesParserFromReader(br));
GenericRuleReasoner r = new GenericRuleReasoner(l);
r.setTraceOn(trace!=null && trace.equals("true"));
ctx.setReasoner(r);
OntModel m = xs.toOWL(target, name, false, ctx);
// ctx.getModel().write(System.out,"RDF/XML-ABBREV");
return m;