Use the Search and Replace rule to remove spaces in your attributes. For example, if you have an attribute with the value "Dark Red" you can remove the space to have it read "DarkRed".
Place your cursor in the "Replace" field and hit the space bar once to add one space to the field. Leave the "With" field blank, check "Include partial matches?", and click Apply.
See also: Using search and replace during export