change to rule checker