Paris climate agreement rulebook drawn up