initial work on rule validation