In this rule

Historical Rules · 1 May 2014

Rule 702.22b

Official source text from the 1 May 2014 Rules release

The rampage bonus is calculated only once per combat, when the triggered ability resolves. Adding or removing blockers later in combat won’t change the bonus.

Find this number in the current Rules