refact(rules): Adapt to latest JSON schema for Query Rules
refact(rules): Adapt to latest JSON schema for Query Rules

`if`/`then` have been renamed to `condition`/`consequence` to avoid conflicts with reserved keywords in strongly typed clients that want to enforce the Rules schema.

algolia/algoliasearch-client-js,algolia/algoliasearch-client-js,algolia/algoliasearch-client-javascript,algolia/algoliasearch-client-javascript,algolia/algoliasearch-client-javascript,algolia/algoliasearch-client-javascript,algolia/algoliasearch-client-js