@Override
  public @Nullable DependencyRule getViolatorDependencyRule(@NotNull PsiFile from, @NotNull PsiFile to) {
    for (DependencyRule dependencyRule : myState.rules) {
      if (dependencyRule.isForbiddenToUse(from, to)) return dependencyRule;
    }

    return null;
  }
@Override
  public @Nullable DependencyRule getViolatorDependencyRule(@NotNull PsiFile from, @NotNull PsiFile to)