An enhanced UrlRule class for Yii2 UrlManager