[ros-diffs] [royce] 14315: reorder GenerateRules() to get rid of unnecessary if()