code: @Override
    public boolean ruleFileExists(String path) {
      String completePath = getCompleteRulesUrl(path);
      return ResourceDataBroker.class.getResource(completePath) != null;
    }
docs: See: {@link ResourceDataBroker#ruleFileExists(String)}
  
  Checks if a resource in the grammar checker's {@code /rules} exists.
  @param path Path to an item from the {@code /rules} directory.
  @return {@code true} if the resource file exists.