Agreement reached for US to train Syrian rebels in Turkey