Assign cohorts to groups in the instructor dashboard

TNL-653
Since this ruleset is tied to group-based UI, I'd recommend adding that term in the class name to better label this code/styling.