Added functionality to return number of specific rules left to fill