The restrictions at issue in the lawsuit — including limits on guns within 100 yards of parks, places of worship and schools — have been on the books for years.