putting in rules