[RateIt] Closing element in wrong variable position

Should be with the rest of the conditional block