code: public static Rule getRule(final String value) {
          Level thisLevel;
          if (levelList.contains(value.toUpperCase())) {
              thisLevel = Level.toLevel(value.toUpperCase());
            } else {
              thisLevel = UtilLoggingLevel.toLevel(value.toUpperCase());
          }
  
          return new NotLevelEqualsRule(thisLevel);
      }
docs: Create new rule.
  @param value name of level.
  @return instance of NotLevelEqualsRule.