I have this tattooed on my left side! I love the saying and it's a perfect description of Karma, don't judge/discriminate and don't do to someone what you wouldn't want done to you.
And the quality of good judgement is clearly a form of knowledge and skill, as it is because of knowledge and not because of ignorance that we judge well.