Fixed issue where custom_elements would not remove the some of the default rules when cloning rules from div and span.