An expert system for the application of import and export regulations