Make a character rule only accept one character