Reading state value in rules with hosted login