In the case of qualified rehabilitation expenditures (as defined in section
47
(c)) paid or incurred during the period beginning on August 28, 2005, and ending on December 31, 2008, with respect to any qualified rehabilitated building or certified historic structure (as defined in section
47
(c)) located in the Gulf Opportunity Zone, subsection (a) of section
47 (relating to rehabilitation credit) shall be applied—