There are three customers types that you can select in a pricing rule.
1. All Customers
When you create pricing rule based on All customers, then you don't need to check that customer is login or not. Any one one come to your store frontend, will see wholesale pricing.
Below is pricing rule reference image based on All Customers.

2. Only Guest Customers
When you create pricing rule based on Only Guest Customers,then Discount price will appear to only those customers who are not logged in to their account. The customers who are logged in will not receive the discount price.

3. Only logged in customers
When you create pricing rule based on logged in customers, Then have need to check in customers profile, that their account status is active. Becasue if Customer account status is not active, then wholesale pricing will not show to that customers who will logged in with in-active account status.
Below are showing filter query to check account status.
customer_account_status = 'ENABLED'


4. Tag based customers
When you create pricing rule based on specific tags, then have need to check 2 points in customers profile.
- Account Status: Have need to check in customers profile, that their account status is active?
- Specific Tag: Have spcific tag in customers profile on which based you have created pricing rules.
Let's consider that , pricing rules created based on wholesale tag. Below are showing filter query to check specific tag and account status.
customer_account_status = 'ENABLED' AND customer_tags CONTAINS 'wholesale'

