Replace all space by '_' in key when creating manual rule