an expert system framework