docs: public RuleQuery createRuleSearchQuery(DbSession dbSession, Request request) {
      RuleQuery query = createRuleQuery(dbSession, request);
      query.setIncludeExternal(request.mandatoryParamAsBoolean(PARAM_INCLUDE_EXTERNAL));
      return query;
    }