all demo code for drools rule engine