Removed single quote from allowed characters for header underline (so that the minimum number of underline char repeat constraint can be skipped). Also removed the min number of char repeat constraint for horizontal rule.