Original sentence: government has castigated those states designated as "Outposts of tyranny" for their human rights records, it has maintained friendly relations and even alliances with some other governments with poor human rights records.government rarely  criticizes in such strong terms states such as Egypt, Indonesia, the People's Republic of China, Saudi Arabia and Uzbekistan
Edited sentence: has castigated those states designated as "Outposts of tyranny" for their human rights records, it has maintained friendly relations and even alliances with some other governments with poor human rights records.rarely  criticizes in such strong terms states such as Egypt, Indonesia, the People's Republic of China, Saudi Arabia and Uzbekistan