Practical wisdom is needed for knowing when rules should be broken.
Rules are designed in theory as sign posts on how to act that best serves a purpose. Rules are created to address problems, or as useful guidelines by the experienced who have walked the road to help the novice.
Rules sometimes are created by stupid or cruel people who rather than assisting become a barrier to good action. Rules often come with penalties for breaking them. Rules sometimes fail to match those situations that life throws up for which a novel approach is required. These three situations require practical wisdom to determine the best course of action, which may mean ignoring or adapting the rule.
In blogging I have created a guideline that a good blog post is best at 300 words. I say guideline rather than rule since nothing is set in stone, and circumstance and need will determine the best blog length. I have some blogging experience, and I read dozens of blogs a day, thus I know that to give my best attention to a blog I prefer them short and simple. If I come face to face with a 2000 word blog with complicated abstract words, it better be good to earn my attention.
To gain practical wisdom on when to ignore or adapt rules, it is better to follow the rules first, then gain experience in the doing of the activity, thus through time and the “doing” a sense of what is the right action is developed.