Rule Engines can offer great value in certain cases.
First, many rule engines work more declaratively. A very crude example would be AWK, where you can assign regular expressions to blocks of code. When a regular expression is examined by a file scanner, a code block is executed.
You can see that in this case, if you had, say, a large AWK file, and you wanted to add another "rule", you can easily go to the bottom of the file, add a regular expression and logic, and you need to end it . In particular, for many applications, you don’t really care about what other rules do, and the rules do not actually interact with each other.
Thus, the AWK file is more like a rule soup. This “soup soup” allows people to concentrate very strongly on their domain without worrying about all the other rules that may be in the system.
For example, Frank is interested in orders worth more than $ 1,000, so he inserts into the system of rules that interests him. "IF order.total> 1000 THEN email Frank".
Meanwhile, Sally wants all orders from the west coast: "IF order.source ==" WEST_COAST "THEN email Sally".
So, you can see in this trivial, far-fetched case that order can satisfy both rules, but both rules are independent of each other. An order of $ 1,200 from the West Coast notifies Frank and Sally. When Frank is no longer bothered, he will simply endure his exclusion from the soup.
For many situations, this flexibility can be very powerful. It can also, like this case, be available to end users for simple rules. Using high-level expressions and possibly an easy script.
Now, it is obvious that in a complex system there are all sorts of interconnections that can occur, so the whole system is not "executed with rules." Someone, somewhere, will be responsible for the rules that do not go out of control. But this does not necessarily reduce the value that such a system can provide.
Remember that this is not even included in things like expert systems, where rules trigger data that rules can create, but a simpler system of rules.
In any case, I hope this example shows how a rule system can help increase a larger application.