adding rules to specs