Fixes an issue where trying to get rule info or metrics could result in a crash when a node is joining a cluster.