Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
A business rule engine (BRE) is a component of software allowing non-programmers to change the business logic in a business process management (BPM) system. To carry out a business policy or procedure, a business rule or statement is required. Business logic uses data in a database and a sequence of operations to carry out the business rule.
Execution code for business rules is separated from the BPM system, allowing the end user to change business rules without asking for a programmer’s help. The business rule engine evaluates the changes' effects on other rules and flags the user if there is a conflict.
A complete BRE includes:
Types of business rule engines differ according to how rules are scheduled for execution. Most rule engines are forward chaining and extract data until a goal is reached.
There are two types:
There are also backward chaining rules. Here the rule engine seeks to resolve the facts to meet a specific goal. And there is a third class of rule engine, called a deterministic engine. Utilizing neither forward nor backward chaining, it instead uses domain-specific language approaches to better describe policy and then solves problems in a particular domain such as combat, salary calculation or billing.