Implemented slotClasses which allow charClasses based on rules

Added slotClassName as an attribute of Slot.