I'm not sure it's a law though (I doubt it, at least it's not federal, as it's not in all stores). I imagine it could just as easily have been market pressure, as the supermarkets began to offer their own brands of products for cheaper than premium, it made sense to offer direct comparisons with as much information as possible.