object and value rules working