KRACOEUS-8324: restoring rule logic that was broken from KRACOEUS-7937

Weird indentation, might as well put it all on one line.