work on getting rules working.