def rule(event):
    if all(
        [
            event.deep_get("TargetFilename", default="").endswith(
                "\\Microsoft\\Outlook\\VbaProject.OTM"
            ),
            not event.deep_get("Image", default="").endswith("\\outlook.exe"),
        ]
    ):
        return True
    return False
