Risk management and expert system development methodology