Exodus 34:1- The Lord said to Moses, "Chisel out two stone tablets like the first ones, and I will write on them the words that were on the first tablets, which you broke
(God then gives a new set of rules...)
Exodus 34:27-28 Then the Lord said to Moses, "Write down these words, for in accordance with these words I have made a covenant with you and with Israel."
...And he wrote on the tablets the words of the covenant- the Ten Commandments.