def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\WINWORD.EXE"),
            event.deep_get("Image", default="").endswith("\\csc.exe"),
        ]
    ):
        return True
    return False
