A new approach for expert systems design