China to Help Afghanistan Fight Terrorism, Rebuild