def rule(event):
    if all(
        [
            "\\Software\\Classes\\" in event.deep_get("TargetObject", default=""),
            "\\shell\\" in event.deep_get("TargetObject", default=""),
            "\\command\\" in event.deep_get("TargetObject", default=""),
        ]
    ):
        return True
    return False
