Fix duplicated promotion rule
Fixes #5144