Question: what is the difference between protocol and rules?
Answer: A protocol is not a set of rules. A protocol is the thing those rules describe the rules of. This is why programs implement a protocol and comply with a standard. A protocol define a set of rules used by two or more parties to interact between themselves.