docs: public void setUserAgent(String userAgent) {
          this.userAgent = userAgent.toLowerCase();
  
          // Re-order the set
          Set<UserAgentDirectives> replace = new TreeSet<UserAgentDirectives>(
              new UserAgentDirectives.UserAgentComparator(this.userAgent));
          replace.addAll(rules);
          rules = replace;
      }