Under "view enrollments", if a course was assigned through a post-enrollment rule, create a field that displays the source of the post-enrollment rule. As a result, if you want to change the enrollment rule, you can easily find the course that triggered the post-enrollment.