adds rules