Rated capacity is the minimum battery capacity a maker guarantees under standard tests. It is usually a little lower than the typical figure that appears in marketing, which describes the average result across many cells.
It matters when reading spec sheets and regulatory listings. A phone advertised with one capacity may list a slightly different number in its certification documents, and the gap between the two is often just this difference between typical and rated values.
The two numbers are not contradictory, but they should not be mixed up. Comparing one phone's typical capacity with another's rated capacity makes the second look worse than it is. Test conditions can also differ, so even two rated figures may not be perfectly comparable. Neither number says how long the battery will last in daily use.
When comparing batteries, check which kind of figure each source gives, compare rated with rated and typical with typical, and look at independent measured results for real usage.