A reaction (often arbitrary) by which rules are made or laws are enacted without much forethought in response to some stimulus. Often the cure is worse than the disease.