docs: public static boolean update(RuleEngine ruleEngine, MutableStateObj state) {
          StateObj newState = ruleEngine.evaluateRules(state);
          state.updateState(newState);
          return newState.getState().size() > 0;
  
      }