adding rules page