Renamed Xdigits to Xdigit, following Ctype naming convention
Changed Xdigit base class to AbstractCtypeRule

It also affects one of the test cases (the empty string went from
invalid to valid).
Fixed up OneOfTest after Xdigit renaming