public JSONObject searchRules(RuleQuery query) throws AlgoliaException, JSONException {
    return this.searchRules(query, RequestOptions.empty);
  }
public JSONObject searchRules ( RuleQuery query ) throws AlgoliaException , JSONException { return this . searchRules ( query , RequestOptions . empty ) ; }
Search for query rules

@param query the query