@Override
  public DependencyRule @NotNull [] getAllRules() {
    List<DependencyRule> rules = myState.rules;
    return rules.toArray(new DependencyRule[0]);
  }
@Override
  public DependencyRule @NotNull [] getAllRules()