In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.

Example Input: SECTION 1. SHORT TITLE.

     This Act may be cited as the ``Zero Gravity, Zero Tax Act of 
2003''.

SEC. 2. EXCLUSION OF SPACE-RELATED INCOME FROM GROSS INCOME.

    (a) In General.--Part III of subchapter B of chapter 1 of the 
Internal Revenue Code of 1986 (relating to items specifically excluded 
from gross income) is amended by redesignating section 140 as section 
140A and inserting after section 139 the following new section:

``SEC. 140. SPACE-RELATED INCOME.

    ``(a) General Rule.--Gross income shall not include space-related 
income.
    ``(b) Space-Related Income.--
            ``(1) In general.--For purposes of this section, the term 
        `space-related income' means--
                    ``(A) income derived from the sale by the taxpayer 
                to an unrelated person of--
                            ``(i) any product or article which is 
                        produced by the taxpayer in outer space, and
                            ``(ii) any service provided by the taxpayer 
                        in or from outer space,
                    ``(B) income of an individual attributable to 
                services performed in or from outer space by such 
                individual in a trade or business, and
                    ``(C) any amount not described in subparagraph (A) 
                or (B) which is interest, rent, royalty, or similar 
                amount received with respect to production or service 
                described in subparagraph (A) or (B).
            ``(2) Exception for telecommunications services, etc.--
        Paragraph (1)(A)(ii) shall not apply to--
                    ``(A) any telecommunications service provided from 
                earth orbit,
                    ``(B) any service provided by a weather or other 
                earth observation satellite, and
                    ``(C) any other service provided on or before the 
                date of the enactment of this section of transporting 
                property to or from outer space.
            ``(3) Exception for wages.--Paragraph (1) shall not apply 
        to wages (as defined in section 3401) received by any employee 
        of an employer.
            ``(4) Proportional allocation between space-based and 
        earth-based activities.--In the case of any product or article 
        which is produced partly in space, space-related income shall 
        be an amount which bears the same ratio to the amount of gross 
        income attributable to the sale of such product or article as 
        the expenses attributable to producing such product or article 
        in space bears to the total expenses incurred in producing such 
        product or article.
            ``(5) Produced.--For purposes of this section, the term 
        `produced' includes created, fabricated, developed, grown, 
        manufactured, extracted, processed, cured, and aged.
    ``(c) Exclusion From Tariffs, Etc.--Any product--
            ``(1) which is manufactured in outer space, and
            ``(2) which was--
                    ``(A) launched from, and returned to Earth, within 
                the United States, or
                    ``(B) Manufactured at a facility in outer space 
                which is owned by 1 or more United States persons, 
                shall be exempt from all Federal excises, imposts, and 
                duties and any other Federal tariffs.
    ``(d) Phaseout of Benefits.--In the case of a taxable year 
beginning after December 31, 2012, the amount excluded under subsection 
(a) shall be reduced (but not below zero) by x/10th's of the amount 
excludable without regard to this subsection, where `x' is the number 
of years such taxable year is after the last taxable year beginning 
before January 1, 2013. A similar rule shall apply to the benefits 
under subsection (c).''.
    (b) Clerical Amendment.--The table of sections for part III of 
subchapter B of chapter 1 of such Code is amended by striking the last 
item and inserting the following new items:

                              ``Sec. 140. Space-related income.
                              ``Sec. 140A. Cross references to other 
                                        Acts.''.
    (c) Effective Date.--The amendments made by this section shall 
apply to taxable years beginning after December 31, 2003.

SEC. 3. CREDIT FOR PURCHASE OF QUALIFIED SPACE COMPANY STOCK.

    (a) In General.--Subpart D of part IV of subchapter A of chapter 1 
of the Internal Revenue Code of 1986 (relating to business related 
credits) is amended by adding at the end the following new section:

``SEC. 45G. SPACE COMPANY INVESTMENT CREDIT.

    ``(a) General Rule.--For purposes of section 38, the space company 
investment credit determined under this section for any taxable year is 
the amount paid in the taxable year for the purchase of qualified stock 
in a qualified space company.
    ``(b) Qualified Space Company.--For purposes of this section--
            ``(1) In general.--The term `qualified space company' means 
        a domestic C corporation if for the 3-taxable-year period 
        ending with the taxable year immediately preceding the taxable 
        year in which qualified stock is purchased--
                    ``(A) the average annual gross receipts of such 
                entity does not exceed $100,000,000, and
                    ``(B) more than 70 percent of such gross receipts 
                are derived from space-based business.
            ``(2) Space-based business.--The term `space-based 
        business' means a business whose gross receipts are 
        substantially space-related income, as defined in section 
        140(b).
            ``(3) Aggregation rules.--Rules similar to the rules of 
        section 1202(d)(3) shall apply.
    ``(c) Qualified Stock.--For purposes of this section--
            ``(1) In general.--Except as otherwise provided in this 
        section, the term `qualified stock' means any stock in a 
        domestic C corporation if--
                    ``(A) as of the date of issuance of such stock, 
                such corporation is a qualified space company, and
                    ``(B) except as provided in subsections (f) and 
                (h), such stock is acquired by the taxpayer at its 
                original issue (directly or through an underwriter)--
                            ``(i) in exchange for money or other 
                        property (not including stock), or
                            ``(ii) as compensation for services 
                        provided to such corporation (other than 
                        services performed as an underwriter of such 
                        stock).
            ``(2) Active business requirement.--Stock in a corporation 
        shall not be treated as qualified stock unless, during 
        substantially all of the taxpayer's holding period for such 
        stock--
                    ``(A) such corporation meets active business 
                requirements substantially similar to the requirements 
                of section 1202(e), determined on the basis that the 
                qualified trade or business is a space-based business, 
                and
                    ``(B) such corporation is a C corporation.
            ``(3) Certain purchase by corporation of its own stock.--
        Rules similar to the rules of section 1202(c)(3) shall apply.
    ``(e) Recapture.--If, during any taxable year ending with or within 
the 10-year period beginning on the date qualified stock was purchased 
by the taxpayer, the issuer of such stock ceases to a qualified space 
company, the tax under this chapter for such taxable year shall be 
increased by the aggregate decrease in the credits allowed under 
section 38 for all prior taxable years which would have resulted solely 
from reducing to zero any credit determined under subsection (a) with 
respect to such stock.
    ``(f) Termination.--This section shall not apply to stock acquired 
after December 31, 2011.''.
    (b) Credit Allowed as Part of General Business Credit.--Section 
38(b) of such Code (defining current year business credit) is amended 
by striking ``plus'' at the end of paragraph (14), by striking the 
period at the end of paragraph (15) and inserting ``, plus'', and by 
adding at the end the following new paragraph:
            ``(16) space company investment credit determined under 
        section 45G(a).''.
    (c) Conforming Amendments.--
            (1) Section 39(d) of such Code is amended by adding at the 
        end the following new paragraph:
            ``(11) No carryback of space company investment credit 
        before january 1, 2004.--No portion of the unused business 
        credit for any taxable year which is attributable to the space 
        company investment credit determined under section 45G may be 
        carried back to a taxable year beginning before January 1, 
        2004.''.
            (2) Subsection (c) of section 196 of such Code is amended 
        by striking ``and'' at the end of paragraph (9), by striking 
        the period at the end of paragraph (10) and inserting ``, 
        and'', and by adding at the end the following new paragraph:
            ``(11) the space company investment credit determined under 
        section 45G(a).''.
            (3) The table of sections for subpart D of part IV of 
        subchapter A of chapter 1 of such Code is amended by adding at 
        the end the following new item:

                              ``Sec. 45G. Space Company Investment 
                                        Credit.''.
    (d) Effective Date.--The amendments made by this section shall 
apply to costs paid or incurred in taxable years beginning after 
December 31, 2003.

SEC. 4. CAPITAL GAINS EXCLUSION.

    (a) In General.--(1) Part I of subchapter P of the Internal Revenue 
Code of 1986 (relating to treatment of capital gains) is amended by 
adding at the end the following new section:

``SEC. 1203. EXCLUSION FOR GAINS FROM SALE OR EXCHANGE OF STOCK OF 
              QUALIFIED SPACE CORPORATIONS.

    ``(a) In General.--Gross income shall not include gain on the sale 
or exchange of any stock of a qualified space corporation.
    ``(b) Qualified Space Corporation.--For purposes of subsection (a), 
the term `qualified space corporation' means, with respect to any 
taxable year, a domestic corporation which is a C corporation if--
            ``(1) such corporation is organized exclusively for 
        providing to unrelated persons--
                    ``(A) any product or article which is produced 
                (within the meaning of section 140(b)(5)) by the 
                corporation in outer space, or
                    ``(B) any service provided by the corporation in or 
                from outer space, and
            ``(2) At least 90 percent of the expenses of such 
        corporation are attributable to the active conduct of a trade 
        or business of providing a product, article, or service 
        described in paragraph (1).
Such term shall not include a corporation providing a service, product, 
or article described in section 140(b)(2).''.
    (2) Clerical Amendment.--The table of sections for part I of 
subchapter P of such Code is amended by adding at the end the following 
new item:

                              ``Sec. 1203. Exclusion for gains from 
                                        sale or exchange of stock of 
                                        qualified space 
                                        corporations.''.
    (b) Effective Date.--The amendments made by this section shall 
apply to taxable years beginning after December 31, 2003.
Example Output: Zero Gravity, Zero Tax Act of 2003 - Amends the Internal Revenue Code to exclude from gross income: (1) space-related income; and (2) gain on the sale or exchange of any stock of a qualified space corporation.Establishes a space company investment credit for the purchase of qualified stock in a qualified space company.

Example Input: SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Rural Law Enforcement Assistance Act 
of 1999''.

SEC. 2. FUNDING TO NATIONAL CENTER FOR RURAL LAW ENFORCEMENT.

    (a) Funding Authority.--The Attorney General shall provide funds, 
subject to appropriations, to the National Center for Rural Law 
Enforcement if the Executive Director of the Center certifies, in 
writing, to the Attorney General that the Center--
            (1) is incorporated in accordance with applicable State 
        laws;
            (2) is in compliance with the by-laws of the Center;
            (3) shall use amounts made available under this section in 
        accordance with subsection (b); and
            (4) shall not support any political party or candidate for 
        elected or appointed office.
    (b) Uses of Funds.--
            (1) Required uses of funds.--The Center shall use funds 
        made available under this section to develop an educational 
        program for employees of law enforcement agencies serving rural 
        areas which shall include--
                    (A) the development and delivery of management 
                education and training, technical assistance, practical 
                research and evaluation, and computer and forensic 
                education and training for employees of law enforcement 
                agencies serving rural areas, tribal law enforcement 
                employees and railroad law enforcement employees, 
                including supervisory and executive managers of those 
                agencies;
                    (B) conducting research into the causes and 
                prevention of criminal activity in rural areas, 
                including the causes, assessment, evaluation, analysis, 
                and prevention of criminal activity;
                    (C) the development and dissemination of 
                information designed to assist States and units of 
                local government in rural areas throughout the United 
                States;
                    (D) the establishment and maintenance of a resource 
                and information center for the collection, preparation, 
                and dissemination of information regarding criminal 
                justice and law enforcement in rural areas, including 
                programs for the prevention of crime and recidivism; 
                and
                    (E) the delivery of assistance, in a consulting 
                capacity, to criminal justice agencies in the 
                development, establishment, maintenance, and 
                coordination of programs, facilities and services, 
                training, and research relating to crime in rural 
                areas.
            (2) Permissive uses of funds.--The Center may use funds 
        made available under this section to enhance the educational 
        program developed under paragraph (1), through--
                    (A) educational opportunities for rural law 
                enforcement agencies;
                    (B) the development, promotion, and voluntary 
                adoption of educational and training standards and 
                accreditation certification programs for law 
                enforcement agencies serving rural areas and the 
                employees of those agencies;
                    (C) grants to, and contracts with, State, and local 
                governments, law enforcement agencies, public and 
                private agencies, educational institutions, and other 
                organizations and individuals to carry out this 
                paragraph;
                    (D) the formulation and recommendation of law 
                enforcement policy, goals, and standards in rural areas 
                applicable to criminal justice agencies, organizations, 
                institutions, and personnel; and
                    (E) coordination with institutions of higher 
                education for the purpose of encouraging programs of 
                study for law enforcement in rural areas at such 
                institutions.
    (c) Powers.--In carrying out subsection (b), the Executive Director 
may--
            (1) request the head of any Federal department or agency to 
        detail, on a reimbursable basis, any of the personnel of that 
        department or agency to the Center to assist it in carrying out 
        its duties under this Act;
            (2) request the Administrator of the General Services 
        Administration to provide the Center, on a reimbursable basis, 
        the administrative support services necessary for the Center to 
        carry out its responsibilities under this Act; and
            (3) procure temporary and intermittent services under 
        section 3109(b) of title 5, United States Code, at rates of 
        compensation established by the Board, but not to exceed the 
        daily equivalent of the maximum rate of pay payable for a 
        position at level IV of the Executive Schedule under section 
        5315 of title 5, United States Code.
    (d) Travel Expenses.--For purposes of official travel, expenses 
shall be reimbursed, including per diem in lieu of subsistence, in the 
same manner as such expenses are permitted under sections 5702 and 5703 
of title 5, United States Code.
    (e) Reporting Requirements.--The Center shall submit an annual 
report to the Attorney General that includes--
            (1) a description of the education and training program 
        conducted by the Center;
            (2) the number and demographic representation of 
        individuals who attended programs sponsored by the Center;
            (3) a description of the extent resources of other 
        governmental agencies or private entities were used; and
            (5) a description of the extent contracts with other public 
        and private resources were used.
    (f) Definitions.--For purposes of this Act:
            (1) The term ``Board'' means the members of the Board of 
        the Center as elected according to its bylaws.
            (2) The term ``Center'' means the National Center for Rural 
        Law Enforcement, a nonprofit corporation located in Little 
        Rock, Arkansas.
            (3) The term ``Executive Director'' means the Executive 
        Director of the Center as appointed according to the bylaws of 
        the Center.
            (4) The term ``metropolitan statistical area'' has the same 
        meaning given such term by the Bureau of the Census.
            (5) The term ``rural law enforcement agency'' means a law 
        enforcement agency that serves a city, town, township, borough, 
        or village outside a metropolitan statistical area.
    (g) Authorization of Appropriations.--There are authorized to be 
appropriated to carry out this section--
            (1) $22,000,000 for fiscal year 2000; and
            (2) such sums as may be necessary for each of fiscal years 
        2001 through 2005.
Example Output: Rural Law Enforcement Assistance Act of 1999 - Directs the Attorney General to provide funds to the National Center for Rural Law Enforcement if the Center's Executive Director certifies in writing that the Center: (1) is incorporated in accordance with applicable State laws; (2) is in compliance with its by-laws; (3) shall use amounts made available in accordance with requirements of this Act; and (4) shall not support any political party or candidate for elected or appointed office. 
Requires the Center to use such funds to develop an educational program for employees of law enforcement agencies serving rural areas for specified purposes, including: (1) the development and delivery of management education and training for employees of law enforcement agencies serving rural areas; and (2) the delivery of assistance (in a consulting capacity) to criminal justice agencies in the development and coordination of programs, training, and research relating to crime in rural areas. 
Permits the Center to use such funds to enhance that educational program through specified means, including: (1) educational opportunities for rural law enforcement agencies; and (2) coordination with institutions of higher education to encourage programs of study for law enforcement in rural areas at such institutions. 
Sets forth reporting requirements.  Authorizes appropriations.

Example Input: SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Medical Device Tax Elimination 
Act''.

SEC. 2. REPEAL OF MEDICAL DEVICE EXCISE TAX.

    (a) In General.--Chapter 32 of the Internal Revenue Code of 1986 is 
amended by striking subchapter E.
    (b) Conforming Amendments.--
            (1) Section 4221(a) of such Code is amended by striking the 
        last sentence.
            (2) Section 6416(b)(2) of such Code is amended by striking 
        the last sentence.
    (c) Clerical Amendment.--The table of subchapters for chapter 32 of 
such Code is amended by striking the item relating to subchapter E.
    (d) Effective Date.--The amendments made by this section shall 
apply to sales after the date of the enactment of this Act.

SEC. 3. LIMITATION ON SECTION 199 DEDUCTION ATTRIBUTABLE TO OIL, 
              NATURAL GAS, OR PRIMARY PRODUCTS THEREOF.

    (a) Denial of Deduction.--Section 199(c)(4) of the Internal Revenue 
Code of 1986 is amended by adding at the end the following new 
subparagraph:
                    ``(E) Special rule for certain oil and gas 
                income.--In the case of any taxpayer who is a major 
                integrated oil company (as defined in section 
                167(h)(5)(B)) for the taxable year, the term `domestic 
                production gross receipts' shall not include gross 
                receipts from the production, transportation, or 
                distribution of oil, natural gas, or any primary 
                product (within the meaning of subsection (d)(9)) 
                thereof.''.
    (b) Effective Date.--The amendment made by this section shall apply 
to taxable years beginning after December 31, 2014.

SEC. 4. PROHIBITION ON USING LAST-IN, FIRST-OUT ACCOUNTING FOR MAJOR 
              INTEGRATED OIL COMPANIES.

    (a) In General.--Section 472 of the Internal Revenue Code of 1986 
is amended by adding at the end the following new subsection:
    ``(h) Major Integrated Oil Companies.--Notwithstanding any other 
provision of this section, a major integrated oil company (as defined 
in section 167(h)(5)(B)) may not use the method provided in subsection 
(b) in inventorying of any goods.''.
    (b) Effective Date and Special Rule.--
            (1) In general.--The amendment made by subsection (a) shall 
        apply to taxable years beginning after December 31, 2014.
            (2) Change in method of accounting.--In the case of any 
        taxpayer required by the amendment made by this section to 
        change its method of accounting for its first taxable year 
        beginning after December 31, 2014--
                    (A) such change shall be treated as initiated by 
                the taxpayer,
                    (B) such change shall be treated as made with the 
                consent of the Secretary of the Treasury, and
                    (C) the net amount of the adjustments required to 
                be taken into account by the taxpayer under section 481 
                of the Internal Revenue Code of 1986 shall be taken 
                into account ratably over a period (not greater than 8 
                taxable years) beginning with such first taxable year.

SEC. 5. MODIFICATIONS OF FOREIGN TAX CREDIT RULES APPLICABLE TO MAJOR 
              INTEGRATED OIL COMPANIES WHICH ARE DUAL CAPACITY 
              TAXPAYERS.

    (a) In General.--Section 901 of the Internal Revenue Code of 1986 
is amended by redesignating subsection (n) as subsection (o) and by 
inserting after subsection (m) the following new subsection:
    ``(n) Special Rules Relating to Major Integrated Oil Companies 
Which Are Dual Capacity Taxpayers.--
            ``(1) General rule.--Notwithstanding any other provision of 
        this chapter, any amount paid or accrued by a dual capacity 
        taxpayer which is a major integrated oil company (as defined in 
        section 167(h)(5)(B)) to a foreign country or possession of the 
        United States for any period shall not be considered a tax--
                    ``(A) if, for such period, the foreign country or 
                possession does not impose a generally applicable 
                income tax, or
                    ``(B) to the extent such amount exceeds the amount 
                (determined in accordance with regulations) which--
                            ``(i) is paid by such dual capacity 
                        taxpayer pursuant to the generally applicable 
                        income tax imposed by the country or 
                        possession, or
                            ``(ii) would be paid if the generally 
                        applicable income tax imposed by the country or 
                        possession were applicable to such dual 
                        capacity taxpayer.
                Nothing in this paragraph shall be construed to imply 
                the proper treatment of any such amount not in excess 
                of the amount determined under subparagraph (B).
            ``(2) Dual capacity taxpayer.--For purposes of this 
        subsection, the term `dual capacity taxpayer' means, with 
        respect to any foreign country or possession of the United 
        States, a person who--
                    ``(A) is subject to a levy of such country or 
                possession, and
                    ``(B) receives (or will receive) directly or 
                indirectly a specific economic benefit (as determined 
                in accordance with regulations) from such country or 
                possession.
            ``(3) Generally applicable income tax.--For purposes of 
        this subsection--
                    ``(A) In general.--The term `generally applicable 
                income tax' means an income tax (or a series of income 
                taxes) which is generally imposed under the laws of a 
                foreign country or possession on income derived from 
                the conduct of a trade or business within such country 
                or possession.
                    ``(B) Exceptions.--Such term shall not include a 
                tax unless it has substantial application, by its terms 
                and in practice, to--
                            ``(i) persons who are not dual capacity 
                        taxpayers, and
                            ``(ii) persons who are citizens or 
                        residents of the foreign country or 
                        possession.''.
    (b) Effective Date.--
            (1) In general.--The amendments made by this section shall 
        apply to taxes paid or accrued in taxable years beginning after 
        December 31, 2014.
            (2) Contrary treaty obligations upheld.--The amendments 
        made by this section shall not apply to the extent contrary to 
        any treaty obligation of the United States.
Example Output:
Medical Device Tax Elimination Act This bill amends the Internal Revenue Code to repeal the excise tax on medical devices and offsets the cost of such repeal by: (1) eliminating the tax deduction for income attributable to oil, natural gas, or primary products thereof for major integrated oil companies (companies that have an average daily worldwide annual production of crude oil of at least 500,000 barrels and annual gross receipts in excess of $1 billion); (2) prohibiting the use of the last-in, first-out (LIFO) accounting method by major integrated oil companies; and (3) denying the foreign tax credit to major integrated oil companies that are dual taxpayers (companies that receive an economic benefit from a foreign country or a possession of the United States that does not impose a generally applicable income tax).