Added updateRule parameter to Stager.setState