Well exactly so. If we love God how can weIt seems that 'love...one another' covers a whole lot of ground.
Have other gods before Him?
Make and/or worship idols?
Not delight the day that He has set aside for us and honour it?
Dishonour our parents?
If we love our neighbour as ourselves how can we
Kill him or even hate him?
Commit adultery with his wife?
Steal from him?
Lie to him or about him?
Covet the things that he has?
It all amounts to the same thing. The 'Golden Rule' is just an epitome of the Ten Commandments.