Title: The development of a flexible rule based controller for the process industries