A rule is a set of instructions that must be followed, while a guideline is a set of recommendations that should be followed. Rules are usually legally binding, while guidelines are not.