Uri rule matching.