Acts 3:22
For Moses truly said unto the fathers, A prophet shall the Lord your God raise up unto you of your brethren, like unto me; him shall ye hear in all things whatsoever he shall say unto you.
Moses was a type of Christ:
Moses delivered Israel from Egypt, Jesus delivered man from sin.
Moses gave Israel the law presumably on Pentecost written on stone, Jesus gave us the Holy Ghost on Pentecost written upon our hearts.
The ten commandments where written on stone but not one scripture says the ten commandments where written in our hearts. It says I will write my laws on their hearts, that doesn't say exclusively the ten commandments. All the first five books of our Bible are regarded as the law, and it is all required commands. It is adding to the scripture to say that the ten alone are somehow carried over to be written upon our heart.
Galatians 5:14
For all the law is fulfilled in one word, even in this; Thou shalt love thy neighbour as thyself.
I personally feel this is the law written in our hearts. It is the love of God and not a literal list of does and don'ts.