update rules to work with front-end checking - rough draft