Group rules and reformat comments.