small changes to rule