Two sum rules for the thermal n-point functions