Using Perch Runway with Categories and Sub Categories
perch_get('cat') will get the category and perch_get('subcat') will get the sub category.
'category' => 'category/'.perch_get('cat').'/'.perch_get('subcat'),
matching route for post type
/category/[slug:cat]/[slug:subcat]