Some basic rule sanity checks added.