Import and export functionality for whitelist rules added.