MDL-46130 tool_monitor: Handle rule managment