@Override
  public @NotNull Element getState() {
    Element element = super.getState();
    if (mySkipImportStatements || mySkipImportStatementsWasSpecified) {
      element.addContent(new Element("option").setAttribute("name", "SKIP_IMPORT_STATEMENTS").setAttribute("value", Boolean.toString(mySkipImportStatements)));
    }

    State state = myState;
    if (!state.unnamedScopes.isEmpty()) {
      String[] unnamedScopes = ArrayUtilRt.toStringArray(state.unnamedScopes.keySet());
      Arrays.sort(unnamedScopes);
      for (String unnamedScope : unnamedScopes) {
        element.addContent(new Element(UNNAMED_SCOPE).setAttribute(VALUE, unnamedScope));
      }
    }

    writeRules(element, state);
    return element;
  }
@Override
  public @NotNull Element getState()