AMENDED AND RESTATED RIGHTS AGREEMENT Dated as of