def rule(event):
    if all(
        [
            any(
                [
                    "/flash_install.php" in event.deep_get("c-uri", default=""),
                    event.deep_get("c-uri", default="").endswith("/install_flash_player.exe"),
                ]
            ),
            not event.deep_get("cs-host", default="").endswith(".adobe.com"),
        ]
    ):
        return True
    return False
