Irresistible impulse rule refers to legal principle stating that even a person who knowingly performs a wrongful act can be absolved of responsibility if he/she was driven by an irresistible impulse to perform the act or had a diminished capacity to resist performing the act