This is the version with full call graph after my recent fix, the rules are all the moodle tables and insert_record