adding rules module