@Override
    protected void applyFix(@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) {
      RuleFixContext context = new RuleFixContext();
      if (context.prepare(element, BranchBase::isDefault)) {
        context.copyCaseValues(true);
        context.deleteRedundantComments();
        context.deleteRule();
      }
    }
@Override
    protected void applyFix(@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater)