Creating Rules to Reject messages If not match "From","Return-Path", "Reply-To" parameters

Can any one help me in a case where I want to set the rule to reject messages or take actions on the emails having From, Return-Path, Reply-To parameters in header file which are not match to each other.

Hello,

Could you let us know your Axigen version and the OS you are using?

BR,
Ioan

OS is Linux
Axigen server 10.5.19

can you please help me ?