Added Validation:
classRule implementation from jquery validator plugin
to consolidate validation rules.