Sum rules and interlayer conductivity of high-Tc cuprates