; the seeds thereof; the resin extracted from any part of such plant; and every compound, manufacture, salt, derivative, mixture, or preparation of such plant, its seeds or resin; and (B) does not include— (i) hemp, as defined in section 297A of the Agricultural Marketing Act of 1946; or (ii) the mature stalks of such plant, fiber produced from such stalks, oil or cake made from the seeds of such plant, any other compound, manufacture, salt, derivative, mixture, or preparation of such mature stalks (except the resin extracted therefrom), fiber, oil, or cake, or the sterilized seed of such plant which is incapable of germination. . (3) Cannabis products treated as tobacco products Section 5702(c) of such Code is amended by striking and roll-your-own tobacco and inserting roll-your-own tobacco, and cannabis products . (4) Manufacturer of cannabis products treated as manufacturer of tobacco products Section 5702 of such Code is amended by adding at the end the following new subsection: (r) Manufacturer of cannabis products (1) In general Any person who plants, cultivates, harvests, produces, manufactures, compounds, converts, processes, prepares, or packages any cannabis product shall be treated as a manufacturer of cannabis products (and as manufacturing such cannabis product). (2) Exception Paragraph (1) shall not apply with respect to any cannabis product which is for such person’s own personal consumption or use. (3) Application of rules related to manufacturers of tobacco products Any reference to a manufacturer of tobacco products, or to manufacturing tobacco products, shall be treated as including a reference to a manufacturer of cannabis products, or to manufacturing cannabis products, respectively. . (5) Application of certain rules for determining price Section 5702(l) of such Code is amended— (A) by striking section 5701(a)(2) and inserting subsections (a)(2) and (h) of section 5701