If you have already a JSON file with your rules, then all you need to do is add the path (relative or absolute) to that file in the rules
configuration key. However, the path MUST include the keyword json
in it.
Then your file can be something like this: