An Algebraic Method of Synthesis of Autonomic Systems of Two-Positional Relays.