add ruler data for each item.
ruler attribute is required field on each item. Correctly calculate ruler path.