FORM OF REGISTRATION RIGHTS AGREEMENT dated as of July 31, 1998