group_rows function

Put a few rows of a table into one category