Add `/rule_engine` API endpoint to manage configuration of rule engine.