spike on handling changes in required and not required
adding test coverage to make sure that has-error is removed when toggling required attribute
introduce hook for individual classes per rule
individual classes per rule