added rules and sharing overlays