def rule(event):
    if all(
        [
            event.deep_get("TargetObject", default="").endswith(
                "\\Software\\Microsoft\\WAB\\DLLPath"
            ),
            not event.deep_get("Details", default="") == "%CommonProgramFiles%\\System\\wab32.dll",
        ]
    ):
        return True
    return False
