fix tests on rule engine after split with stateService