The dipole sum rule with an approximate Hamiltonian