work on editing rules
properly display dates in rules