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