Added email validation rule. Created test() method for testing several rules in a single field.