Who among you wouldn’t rescue your child or your animal out of a cistern, even if it was on a Sabbath?
If a law prevented someone from doing good (let's think, for instance, an immigration law that requires an employer to declare an undocumented worker) that law cannot be valid. Jesus, who did not despise laws but responded to a superior authority, indicates that laws cannot prevent people from doing what is good. Truth and the love of God are above the laws.
How well do you comply with the laws and rules of your city, employment or community? Have you ever considered one of those laws to be in contradiction with the mandates of the love and truth of God?