Implementation In order to be able to execute and test the generated modules we implement 2 additional classes: InvoiceTotal.java It implements the interface and provides a method to execute the rules module InvoiceTotal_model.java A class containing all invoice attributes The Rules module The model