private void addRule(@NotNull DependencyRule rule, @NotNull State state) {
    appendUnnamedScope(rule.getFromScope(), state);
    appendUnnamedScope(rule.getToScope(), state);
    state.rules.add(rule);
  }
private void addRule(@NotNull DependencyRule rule, @NotNull State state)