Hi,
First, You can have only one condition using a script like this :
$Int1 = getHexStringValue('EE01F201');
$Int2 = getBinaryValueAt($data, 0x50, 4);
assertTrue($Int1 == $Int2);
But it is very strange your script doesnt work as i tested it with my test platform (DLP v11.6.3) and it works fine. May be your issue is not at the script level (does your policy active ?, does your test email ok ?, does your test platform working fine ?)
usually when i test a new detection rule, i always add a basic rule in the policy (like a simple keyword that i put in my email) so like that i know that email must raise an incident (which confirm me that policy and test platform and email are ok) and i check if the new rule has matched or not.
regards