code: public List<TreeRule> parseTreeRulesV1() {
      final String json = query.getContent();
      if (json == null || json.isEmpty()) {
        throw new BadRequestException(HttpResponseStatus.BAD_REQUEST,
            "Missing message content",
            "Supply valid JSON formatted data in the body of your request");
      }
      
      return JSON.parseToObject(json, TR_TREE_RULES);
    }
docs: Parses one or more tree rules
  @return A list of one or more rules
  @throws JSONException if parsing failed
  @throws BadRequestException if the content was missing or parsing failed