def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\chrome_frame_helper.dll"),
            not any(
                [
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files\\Google\\Chrome\\Application\\"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files (x86)\\Google\\Chrome\\Application\\"
                    ),
                ]
            ),
            not "\\AppData\\local\\Google\\Chrome\\Application\\"
            in event.deep_get("ImageLoaded", default=""),
        ]
    ):
        return True
    return False
