How does a rules engine work?
Rules are made of condition and action pairs. For example, if the order amount exceeds a certain limit it goes to the sales manager for approval; the order of a customer with an overdue balance goes to finance check; if stock is below the minimum level, a purchase request is opened. The engine compares the incoming record with the list of rules and applies the action of the matching rule. Rules can be prioritized. Which rule ran when is recorded. If rules can be written in the business unit's language, a developer is not needed for every change; this makes it easier to keep rules current.