I have two validation rules
1. For lead owner change to 'user'
2. For lead owner change to 'queue'

Here, user validation rule is firing, even though I am changing the owner to queue. How to make system understand queue/user change?

User Validation Rule:

    AND(
        ISCHANGED( OwnerId ) ,
        $Profile.Name == 'Partner Community for GA Admin',
        Owner:User.Contact.Account.Parent.Name <> $User.CompanyName
    )


Queue Validation Rule:

    AND(
        ISCHANGED( OwnerId ) ,
        $Profile.Name == 'Partner Community for GA Admin',
        NOT(
            CONTAINS(Owner:Queue.QueueName, "Inside")
        )
    )