Extracted the rules array for a selector into a RuleSet which implements SplPriorityQueue