An "expectation" isn't a policy. If in fact there was a formal, written policy and it was changed, the question of whether or not you would be entitled to a bonus will depend upon the exact language of the policy and when, in relation to your resignation, the policy was changed. To determine if you had any post-resignation rights to a bonus, you will need to have the actual, written bonus policies reviewed by a lawyer.