Nearly 200 nations agree rules on implementing 2015 Paris agreement at UN climate talks in Poland.