def rule(event):
    if all(
        [
            event.deep_get("EventType", default="") == "DeleteValue",
            event.deep_get("TargetObject", default="").endswith(
                "\\Microsoft\\Windows\\WindowsAI\\DisableAIDataAnalysis"
            ),
        ]
    ):
        return True
    return False
