Sum rules for two-particle operators and double beta decay