EXHIBIT 10 REGISTRATION RIGHTS AGREEMENT Dated as of October 14, 1997 by and between HEWLETT-PACKARD COMPANY