def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\outllib.dll"),
            not any(
                [
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files\\Microsoft Office\\OFFICE"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files (x86)\\Microsoft Office\\OFFICE"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files\\Microsoft Office\\Root\\OFFICE"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files (x86)\\Microsoft Office\\Root\\OFFICE"
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
