rule type for username