def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\hxtsr.exe"),
            not all(
                [
                    ":\\program files\\windowsapps\\microsoft.windowscommunicationsapps_"
                    in event.deep_get("Image", default=""),
                    event.deep_get("Image", default="").endswith("\\hxtsr.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
