parse the visibility settings for activities