EXHIBIT 4 RIGHTS AGREEMENT by and between VITALWORKS INC.