Dojo rules fix