update to print out rules