def rule(event):
    if all(
        [
            event.deep_get("TargetFilename", default="").endswith(".xml"),
            "Temp" in event.deep_get("TargetFilename", default=""),
            "ScreenConnect" in event.deep_get("TargetFilename", default=""),
            event.deep_get("Image", default="").endswith("\\ScreenConnect.Service.exe"),
        ]
    ):
        return True
    return False
