difference between "guidlines" and "rules"

Hi everyone,

can someone explain to me the difference between “guidlines” and “rules”.
can they be used alternatively.
preferably i would like a few examples

thanxs in advance

purley

.
Guidelines tend to be less rigid than rules, though each guideline- or rule-maker tends to apply his own brand of strictness to either.