Firm Heterogeneity, Rules of Origin, and Rules of Cumulation