def rule(event):
    if all(
        [
            "get-itemProperty" in event.deep_get("ScriptBlockText", default=""),
            "\\software\\" in event.deep_get("ScriptBlockText", default=""),
            "select-object" in event.deep_get("ScriptBlockText", default=""),
            "format-table" in event.deep_get("ScriptBlockText", default=""),
        ]
    ):
        return True
    return False
