fixed rules for inputs, selects and textareas
fixed bug for checkboxes
updated documentation
fixed rules for select inputs on error