code: public JSONObject saveRule(String objectID, JSONObject rule, boolean forwardToReplicas) throws AlgoliaException {
      return this.saveRule(objectID, rule, forwardToReplicas, RequestOptions.empty);
    }
docs: Save a query rule
  
  @param objectID          the objectId of the query rule to save
  @param rule              the content of this query rule
  @param forwardToReplicas Forward this operation to the replica indices