WSOTWO-81: Added rules of creating connection between elements