Remove space character for non-space related rules