def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\outlook.exe"),
            any(
                [
                    "\\AppData\\Local\\Microsoft\\FORMS\\IPM"
                    in event.deep_get("TargetFilename", default=""),
                    "\\Local Settings\\Application Data\\Microsoft\\Forms"
                    in event.deep_get("TargetFilename", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
