AMENDED AND RESTATED RIGHTS AGREEMENT Dated as of January 22, 1999