docs: public void addMetadata(final RuleMetadata metadata) {
  
          final RuleMetadata[] newList = new RuleMetadata[this.metadataList.length + 1];
  
          for (int i = 0; i < this.metadataList.length; i++) {
              newList[i] = this.metadataList[i];
          }
          newList[this.metadataList.length] = metadata;
  
          this.metadataList = newList;
      }