replaced penalty rules with seperate class.