Dear @Glenn Maxwell,
Good day! Welcome to Microsoft Q&A forum!
Thank you for providing the rule details.
I performed a similar test in Classic Outlook, as the rule configuration shown in your screenshot appears consistent with the Classic Outlook Rules Wizard. In my testing, the rule behaved as expected: messages from the specified sender were deleted unless the subject or body contained one of the configured exception keywords, in which case the messages were retained.
I created a similar rule:

To validate the behavior, I tested the following scenarios:
- Test 1
- Subject: Test 1
- Body: Hello!!!

- Test 2
- Subject: Julie
- Body: Hello!!! Test 2

- Test 3
- Subject: Test 3
- Body contained the configured email address & Test 3

- Test 4
- Subject: Test 4
- Body contained the configured name

Results: The message that did not contain any exception keywords was deleted (Test 1), while all messages containing either the configured name or email address were retained (Tests 2,3,4).
Based on these tests, the rule behaved as expected in my environment.

To better understand the issue in your environment, could you please clarify:
- What specifically is not working as expected?
- Are messages being deleted even when they contain "John" or "(the configured email)"? Or are messages not being deleted when they should be?
- Can you provide a sample message (sender, subject, and expected versus actual behavior)?
- Where does "John" or "(the configured email)" appear in the message (subject, body, signature, quoted text, etc.)?
- Is abc configured as an email address, contact, or display name?
Additionally, please let me know whether you are using Classic Outlook or New Outlook. I performed my testing in Classic Outlook because the rule description appears to match the Classic Outlook Rules Wizard. If you are using a different Outlook experience, that may be relevant to the investigation.
Also, if this mailbox is hosted in Exchange Online, you can review the rule configuration through Exchange Online PowerShell using: Get-InboxRule
Kindly let me know when there are updates or if you need further assistance. Any updates you’re able to share would be really helpful.
I'm here and happy to help! Thank you for your kindness and patience!