1. A production rules engine comprising: a class loader for loading a production rule ontology into a rules engine; a class loader for loading production rules into the rules engine, wherein a production rule comprises a rule and an action defined in the production rule ontology; a production instance creator for creating instances of the production rules; a reasoner for: executing the production rules, locating an instance of a production rule having an inconsistency between an action to change the production rule ontology and an existing ontology, and executing the production rules after production rule inconsistencies have been fixed; a constraint engine for locating a solution to an inconsistent ontology; and a fixer for updating the inconsistent ontology with a located solution.