Finished adding rules