Confusing UrlManager rules

in config/modules both store.php and catalog.php has /catalog rule:
'/catalog' => 'catalog/catalog/index',
and
'/catalog' => 'store/catalog/index',



Isn't It confusing, and how yii interpretes it?