China has brought in new legislation to try and improve standards in food production, according to reports.