The abstract and parts of the reasoning ontology have a direct dependency to the code
The code-generation plugin is used to generate a Vocabulary of the classes, object- and data properties in the ontologies, which can be directly used in the code over constants
The rules are located in a txt file and in the ontology.
Tips & Tricks
Renaming or deleting of classes in the ontology can lead to deletion of rules. Because of that, I have kept the rules in the ontology update to date with the txt file
The reasoning can be fragile to small changes in the rules. I recommend to incrementally test changes