Amended and Restated Rights Agreement Dated as of December 2, 1997