In made an impression, the 'impression' can be positive or negative. We don't know which until some adjective is added (a bad impression/ a good impression) or, as in your example, another clause clarifies.
Impressed is generally assumed to be good unless some negative adverb is added.
Your two examples are pretty much the same in the first clause. It's in the second where improvement can be made. There are two verbs: decided and to give, and 'immediately' would work with either, so it's tricky to write the sentence to make it clear which verb the adverb 'immediately' modifies. You have done it the best you could, but better still to use an adjective to modify raise:
Anna had impressed her boss so much that he (had) decided to give her an immediate pay raise.
Note also I substituted raise for rise. Perhaps that's a difference between BE and AE (raise in AE).
Student or Learner