added rule for valid class names