Rename SkipExport to ExportExclude for consistency.
Add support for skipping attributes when serializating for rules.