1.
it has been decided that; to come about that
Used after the plain form of a verb to say that something has been decided or arranged, by others or by circumstances rather than by the speaker's own choice. Usually in the past, ことになった.
2.
it is the rule that; to be supposed to (ことになっている)
In the form ことになっている, states a rule, custom or standing arrangement.
3.
it means that; it amounts to
Draws a conclusion or restates a fact in other terms: "that would mean …".