Kinematic sum rules for trace anomalies