various bug fixes, added type to validation rules methods in BaseModel to allow for different rule sets