Remove empty rules, same below