code: public ListRuleResponse listRules(ListRuleRequest request) {
          InternalRequest internalRequest =
                  createRequest(request, HttpMethodName.GET, RULES);
          if (request.getPageNo() > 0) {
              internalRequest.addParameter("pageNo", String.valueOf(request.getPageNo()));
          }
          if (request.getPageSize() > 0) {
              internalRequest.addParameter("pageSize", String.valueOf(request.getPageSize()));
          }
          return this.invokeHttpClient(internalRequest, ListRuleResponse.class);
      }
docs: list all the rules under this account
  @param request: specify the pageNo, pageSize etc.
  @return all or a subset of rules according to pageNo, and pageSize