
Until now Drools rules have been always expressed in the form: rule "name"when LHS (conditional element)then RHS (consequence)end Sometimes this could be somewhat limiting and leads to verbose and difficult to be maintained repetitions like in the following example: rule "Give 10% discount to customers older than 60"when $customer : Customer( age > 60 )thenRead more →