An expert system approach for the control of a bioprocess. I: Knowledge representation and processing