the whole law is fulfilled in one word
The word "word" here refer to a commandment. Possible meanings are 1) "you can state the whole law in just one commandment" or 2) "by obeying one commandment, you obey all the commandments, and that commandment is this"