Restore a Rational Tax Rate on Petroleum Production Act of 2007 - Amends the Internal Revenue Code to deny a tax deduction in the case of any major integrated oil company for income attributable to the domestic production, refining, processing, transportation, or distribution of oil, natural gas, or any primary product thereof.