code: public void load(RulesDefinition.NewRepository repo, InputStream input, String encoding) {
      load(repo, input, Charset.forName(encoding));
    }
docs: Loads rules by reading the XML input stream. The input stream is not always closed by the method, so it
  should be handled by the caller.
  @since 4.3