DROOLS-494: genericizing the client API