System Reliability Approach to Safety Analysis of Controlled Structures