docs: public Request<Rule> update(String ruleId, Rule rule) {
          Asserts.assertNotNull(ruleId, "rule id");
          Asserts.assertNotNull(rule, "rule");
  
          String url = baseUrl
                  .newBuilder()
                  .addPathSegments("api/v2/rules")
                  .addPathSegment(ruleId)
                  .build()
                  .toString();
          CustomRequest<Rule> request = new CustomRequest<>(this.client, url, "PATCH", new TypeReference<Rule>() {
          });
          request.addHeader("Authorization", "Bearer " + apiToken);
          request.setBody(rule);
          return request;
      }