Yes, Jesus taught the Golden Rule, but that's not my point. I'm just asking if you realize Christianity is not the source of the Golden Rule.
Before Christianity there was thousands of years of that the Mosaic law was in effect. The Hebrew OT Scriptures were completed hundreds of years before Jesus came to earth. Jesus used those ancient Hebrew writings that were part of the Mosaic law as his source when he referred to the Golden Rule. That is what Jesus meant at Matt 7:12 by the 'law' and 'prophets'. Jesus meant the Mosaic law and the ancient Hebrew prophets of old.