A review of the role of expert system technology in performing Probabilistic Risk Assessment(PRA) is presented. Important aspects of the system analysis part of PRA studies are discussed. Intensive human activities in system analysis are studied and represented in a rule based expert system called REX. Object oriented programming method is used to develop RES. All important aspects of REX development including its structure and important rules used are described. Finally our experience with REX is presented.