given to such term by subsection (b) of section 3306 (determined without regard to any dollar limitation contained in such section). For purposes of the preceding sentence, such subsection (b) shall be applied as if the term United States included all possessions of the United States. (ii) Special rule for agricultural labor and railway labor In any case to which subparagraph (A) or (B) of paragraph (1) of section 51(h) applies, the term wages has the meaning given to such term by section 51(h)(2). (3) Allocable employee fringe benefit expenses (A) In general The allocable employee fringe benefit expenses of any qualified corporation for any taxable year is an amount which bears the same ratio to the amount determined under subparagraph (B) for such taxable year as— (i) the aggregate amount of the qualified corporation's qualified possession wages for such taxable year, bears to (ii) the aggregate amount of the wages paid or incurred by such qualified corporation during such taxable year. In no event shall the amount determined under the preceding sentence exceed 15 percent of the amount referred to in clause (i). (B) Expenses taken into account For purposes of subparagraph (A), the amount determined under this subparagraph for any taxable year is the aggregate amount allowable (or, in the case of a foreign corporation, which would be allowable if such foreign corporation were a domestic corporation) as a deduction under this chapter to the qualified corporation for such taxable year with respect to— (i) employer contributions under a stock bonus, pension, profit-sharing, or annuity plan, (ii) employer-provided coverage under any accident or health plan for employees, and (iii) the cost of life or disability insurance provided to employees. Any amount treated as wages under paragraph (2)(D) shall not be taken into account under this subparagraph. (4) Depreciation rules For purposes of this section— (A) Depreciation allowances The term depreciation allowances means the depreciation deductions allowable (or, in