Move the element validation whitelist from the validation module to the validate-elements rule.