Another helper.
Fix output for empty rules