Elaboration of a rest index for a sewing post in a clothing industry