docs: List<Object> getSortedRules() {
          List<Object> result = new ArrayList<Object>();
          for (RuleEntry entry : getSortedEntries()) {
              result.add(entry.rule);
          }
          return result;
      }