Validation class updated

Charset rule added
Length and regex rule setup