SHAREHOLDER RIGHTS AGREEMENT Dated as of July 24, 1998