The UN Women's special representative in Afghanistan said the new legislation represented 'another serious development' in the erosion of women's rights.