AMENDED AND RESTATED RIGHTS AGREEMENT Dated as of July 23, 2015