Intermediate Representation in Rule Compiler
The Intermediate Representation (IR) is a data structure constructed from input conditions and actions used to generate the Rule Engine-specific code. It is a combination of variables, conditions and actions and is more suitable for transformations and optimizations.
The intermediate representation is independent of the used Rule Engine. For the purpose of this document, however, we provide some examples of the generated Drools code.