Rights groups criticize China for selling weapons to Sudan 's government which , they say , are used against rebels in Darfur .