The condition is "policy_server.root_server::" as seen in the upper lines, this is exactly what we use elsewhere to discriminate root and relay servers (policy_server = both types, policy_server.root_server = root server, policy_server.!root_server = relay)