Fix rule to allocation