def rule(event):
    if all(
        [
            "servicebus.windows.net" in event.deep_get("QueryName", default=""),
            "HybridConnectionManager" in event.deep_get("Image", default=""),
        ]
    ):
        return True
    return False
