How to group concepts in a waybill