def rule(event):
    if event.deep_get("TargetFilename", default="") == "/tmp/rootlog":
        return True
    return False
