can parse rules very crudely now