Adjust coloring rules for tasks