Every man is moral obligation to obey the laws that are just and refuse to comply with those that are not. Not all laws passed by the legislatures of men are just. Some laws benefit some of the people at the expense of others.
Rules, regulations, codes, ordinances and statutes are not laws, they are rules written by rulers to benefit the few at the expense of the many.
Liberty, equality and justice can not be maintained in a society governed by unjust laws.
When asked to comply with an unjust law we can promote tyranny by obedience to that law or we can support liberty by refusing to comply..