it rewrote the rules of global markets , established by the general agreement on tariffs and prices , or cafta , in 1947 , and altered in multiple years of negotiations since then .
GATT was formed in 1947.