rename rules dir and update config