def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\curl.exe"),
                    event.deep_get("Product", default="") == "The curl executable",
                ]
            ),
            any(
                [
                    " -O" in event.deep_get("CommandLine", default=""),
                    "--remote-name" in event.deep_get("CommandLine", default=""),
                    "--output" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
