Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A business rules
engine is a software system that executes one or more business rules in
a runtime production environment. The rules might come from legal
regulation ("An employee can be fired for any reason or no reason but
not for an illegal reason"), company policy ("All customers that spend
more than $100 at one time will receive a 10% discount"), or other
sources. A business rule system enables these company policies and other
operational decisions to be defined, tested, executed and maintained
separately from application code. Rule engine software is commonly
provided as a component of a business rule management system which,
among other functions, provides the ability to: register, define,
classify, and manage all the rules, verify consistency of rules
definitions ("Gold-level customers are eligible for free shipping when
order quantity > 10" and "maximum order quantity for Silver-level
customers = 15" ), define the relationships between different rules, and
relate some of these rules to IT applications that are affected or need
to enforce one or more of the rules.