Chapter 5. Creating Human-readable Rules

The business rules implementations presented so far were aimed mostly at developers. However, it is sometimes needed that these rules are readable and understandable by business analysts. Ideally, they should be able to change the rules or even write new ones. An important aspect of business rules is their readability and user friendliness. A quick glance at a rule should give you an idea of what is it about. In this chapter we'll look at domain-specific language (DSL), decision tables, and rule flows to create human-readable rules.

Domain-specific language

The domain in this sense represents the business area (for example, life insurance or billing). Rules are expressed with the terminology of the problem ...

Get Drools JBoss Rules 5.X Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.