THIRD AMENDMENT TO RIGHTS AGREEMENT