def rule(event):
    if all(
        [
            any(
                [
                    "AutoHotkey" in event.deep_get("Product", default=""),
                    "AutoHotkey" in event.deep_get("Description", default=""),
                    event.deep_get("OriginalFileName", default="")
                    in ["AutoHotkey.exe", "AutoHotkey.rc"],
                ]
            ),
            not any(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\AutoHotkey.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkey32.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkey32_UIA.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkey64.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkey64_UIA.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkeyA32.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkeyA32_UIA.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkeyU32.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkeyU32_UIA.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkeyU64.exe"),
                            event.deep_get("Image", default="").endswith("\\AutoHotkeyU64_UIA.exe"),
                        ]
                    ),
                    "\\AutoHotkey" in event.deep_get("Image", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
