Add rule counter