def rule(event):
    if all(
        [
            "[Ref].Assembly.GetType" in event.deep_get("ScriptBlockText", default=""),
            "SetValue($null,$true)" in event.deep_get("ScriptBlockText", default=""),
            "NonPublic,Static" in event.deep_get("ScriptBlockText", default=""),
        ]
    ):
        return True
    return False
