def rule(event):
    if all(
        [
            event.deep_get("Image", default="").startswith("C:\\Windows\\"),
            any(
                [
                    event.deep_get("ImageLoaded", default="").startswith("C:\\Users\\Public\\"),
                    event.deep_get("ImageLoaded", default="").startswith("C:\\PerfLogs\\"),
                ]
            ),
        ]
    ):
        return True
    return False
