Love God and love your neighbor are direct quotes from the law
Deuteronomy 6:5You shall love the Lord your God with all your heart, with all your soul, and with all your strength.
Leviticus 19:18 Do not seek revenge or bear a grudge against anyone among your people, but love your neighbor as yourself. I am the LORD
All of the other commands can be summed up by these 2. The others describe HOW to do it.