ruleOntologyLocation = "." + sep + "RuleConf" + sep + "rmi_config.owl";
FileOutputStream fos;
try {
fos = new FileOutputStream(ruleOntologyLocation);
mgr/* OWLManager.createOWLOntologyManager() */.saveOntology(owlmodel, owlmodel
.getOWLOntologyManager().getOntologyFormat(owlmodel), fos);
} catch (FileNotFoundException e) {
log.error("Cannot save the RMI configuration ontology", e);
} catch (OWLOntologyStorageException e) {
log.error("Cannot save the RMI configuration ontology", e);