The US has signed a deal with Beijing that is to allow American rice companies to export to China for the first time.