RIGHTS AGREEMENT by and between QRS CORPORATION and MELLON INVESTOR SERVICES LLC as Rights Agent Dated as of October 17, 2002