Fixed a bug where \b gets added to rules that don't need it.

If rules end with an escape (like \n or \s), \b gets added since the condition for it only requires a trailing letter or digit.