def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\setres.exe"),
            "\\choice" in event.deep_get("Image", default=""),
            not any(
                [
                    event.deep_get("Image", default="").endswith(
                        "C:\\Windows\\System32\\choice.exe"
                    ),
                    event.deep_get("Image", default="").endswith(
                        "C:\\Windows\\SysWOW64\\choice.exe"
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
