Ideal Operations and Variety Operations