Fixed race condition on ruleLabels