A rule engine can encapsulate business logic, often declaratively. This avoids the need to create custom code business logic in software.
The rules engine algorithm is how the rules are negotiated and run, so this is a detail of the implementation, namely the actual solution to the problem itself. Algorithms can have different non-functional strengths or weaknesses. A common example of a rule engine algorithm is the Rete Algorithm , used in the Java JESS and Drools rule engines .
source
share