Store rules in a JSON blob in the config.