While I like the sentiment, I think there's something lost in reading the Bible with chapter headings. This post is a good example, because if you just pick up the Gospel of John in chapter 14 and read from there it is logical to assume Jesus is talking about the Ten Commandments.
However, to do that would to be to disregard Jesus' giving of His New Commandments in John 13:34-35 where Jesus says:
"A new command I give you: Love one another. As I have loved you, so you must love one another. By this everyone will know that you are my disciples, if you love one another.”
The Ten Commandments were given to the ancient nation of Israel under the Sinai Covenant. The people all agreed to them as a condition of being God's chosen people. They were never laws for Gentiles, and the bible doesn't tell Gentiles to obey them anywhere.
The Ten are not God's ideal. Jesus told us God's ideal, and that is to love one another and to love God. That is a much higher law because you must be active to love like Jesus did. It doesn't help anyone to just not murder, or steal, or commit adultery.
RE: Do this and God will reveal himself to You.