code: public Filter toFilter() {
          Filter[] result = new Filter[filters.size()];
          for (int i = 0; i < result.length; i++) {
              result[i] = filters.get(i).createFilter();
          }
          return chain(result);
      }
docs: Creates a filter from the list of the children filter elements.
  
  @return the filter instance