ATP OIL & GAS CORPORATION and AMERICAN STOCK TRANSFER & TRUST COMPANY Rights Agreement Dated as of October 11, 2005