Fix rule definition (value and check were mixed)