What rules belong in the BRE and which rules should be
hard-coded?
Here's a great way to decide which rules belong in the
rule engine and which rules could be hard-coded. The idea is that rules
that you have no control over, such as compliance rules, must be
rule-based so you can react quickly and implement them as soon these
rules are changed. When a regulating authority tells you when the new
rules become effective, you have no control whatsoever, and a rule
engine enables you to change fast.
Rules that you control, where you can take your time
and decide when the rules shall become effective, can be hard-coded if
so desired. There still may be benefits to rule-basing these rules, but
at least you can hard-code them if necessary.
Rules that are out of your control belong in the
Business Rule Engine |
|