I guess you are saying that the Golden Rule (only do unto others what you would have them do unto you) is the foundation of nine of the ten commandments.
Which nine would that be?
1. No other gods -- NO
2. No idols -- NO
3. No blasphemy -- NO
4. No work on sabbath -- NO
5. Honour Mom and Pop -- NO
6. No murder -- YES
7. No adultery -- YES
8. No theft -- YES
9. No perjury -- YES
10. No wanting what's not yours -- NO
Rules 5 and 10, which cover mental states, lie outside the Golden Rule, which only proscribes behaviour. Rules 1,2,3,4 lie outside the Golden Rule.
That just leaves rules 6,7,8,9.
Interesting that every society with any vestige at all of rules-to-live-by, since long before Moses, has had rules 6,7,8,9 -- the six rules that make the Ten Cs Christian are not derived from the Golden Rule.