Mass. Gen. Laws ch. 63, § 22B
(2) As used in this section, ''net investment income'' means taxable investment income as defined in paragraph two of subsection (a) of section 804 of the Federal Internal Revenue Code. To the extent that the following items are deducted or excluded in computing such taxable investment income, there shall not be deducted or excluded in computing net investment income:
(3) Net investment income shall be adjusted as follows:
Dividends included therein shall be deducted other than dividends from or on account of the ownership of shares in a corporate trust, as defined in section one of chapter sixty-two, engaged in business in the commonwealth, or deemed distributions and actual distributions, except actual distributions out of previously taxed income, from a DISC which is not a wholly owned DISC, or any class of stock if the insurer owns less than fifteen per cent of the voting stock of the corporation paying such dividend.
(4) Net investment income, as adjusted by this section shall be apportioned to this commonwealth by multiplying such income by the lesser of twenty per cent or the percentage which is the sum of ninety per cent of the insurer's premium factor and ten per cent of the insurer's payroll factor, as hereinafter defined.