cab836cf8d
The id stored in the default custom rules was the courseid, and would incorrectly be applied to new activities as the activity id.