What problem/s does a Rule Engine Algorithm solves?

algorithm, design-patterns

Solution

A rules engine can encapsulate business logic, often in a declarative manner. This avoids the need to custom-code business logic in software.

A rules engine algorithm is how the rule matching and triggering is implemented, so it's an implementation detail rather that actually solving a problem itself. Algorithms might have different non-functional strengths or weaknesses. A common example of a rules engine algorithm is the Rete Algorithm, used in the Java rules engines JESS and Drools.

Problem

What problem/s does a Rule Engine Algorithm solve? Which are the recommended ones?

Original source