Restructured general rules of diagram so that we are better able to represent interfaces