Forms: fixed input being required when using negative rule

`$input->addRule(~Form::REQUIRED)` made the input required, causing HTML5 validation to prevent the form from being submitted.