RIGHTS AGREEMENT dated as of JANUARY 17, 1997 between