I recently read Exodus 21-23. The emphasis on loving your neighbor is very clear. That statement really does aptly summarize most of the laws in these chapters. Further, the capsule form of “love your neighbor as yourself” is memorable and thus can be recalled throughout the day as a guide.
But the specificity of the laws in these chapters reminds us that loving our neighbor needs to be worked out in specific ways. A person can’t say he loves his neighbor and then refuse to make restitution when the animal he borrowed from his neighbor dies while in his care.