various stuff related to update rules