display units in edit rule dialog