Updating rules module