Fix rule definition