means that
the saying challenges rigid adherence to rules, particularly when they are viewed as unnecessary or unsuitable. It is not a universal justification for breaking rules.
For example, to justify the non compliance of a rule that is usually considered to be petty or unnecessary. This is a situation where “Rules are made to be broken,” applies.