Defense Secretary Donald H. Rumsfeld and the Chinese leadership agreed Wednesday to strengthen military ties , even as Mr. Rumsfeld said China needed to clarify its regional military goals and his Chinese counterpart rejected Pentagon assessments that Beijing understated its military spending .