code: public JSONObject saveRule(String objectID, JSONObject rule) throws AlgoliaException {
      return saveRule(objectID, rule, false);
    }
docs: Save a query rule
  
  @param objectID the objectId of the query rule to save
  @param rule     the content of this query rule