Coloring rules applied to metadata