code: private MinAndMaxVersion getMinAndMaxAppliesToVersionFromAppliesTo(String appliesTo) {
  
          List<AppliesToFilterInfo> res1Filters = AppliesToProcessor.parseAppliesToHeader(appliesTo);
          Version4Digit highestVersion = null;
          Version4Digit lowestVersion = null;
          for (AppliesToFilterInfo f : res1Filters) {
              Version4Digit vHigh = (f.getMaxVersion() == null) ? MAX_VERSION : new Version4Digit(f.getMaxVersion().getValue());
              Version4Digit vLow = (f.getMinVersion() == null) ? MIN_VERSION : new Version4Digit(f.getMinVersion().getValue());
              if (highestVersion == null || vHigh.compareTo(highestVersion) > 0) {
                  highestVersion = vHigh;
                  lowestVersion = vLow;
              } else if (vHigh.compareTo(highestVersion) == 0) {
                  if (lowestVersion == null || vLow.compareTo(lowestVersion) > 0) {
                      highestVersion = vHigh;
                      lowestVersion = vLow;
                  }
              }
          }
          return new MinAndMaxVersion(lowestVersion, highestVersion);
      }
docs: Parse an appliesTo to get the lowest and highest version that this asset applies to and
  return an object describing this.
  
  @param apliesTo the appliesTo String
  @return MinAndMaxVersion object describing the range of levels supported