Fix for Null Pointer Exception when trying to import rules file before exporting. Added check for external storage before exporting.