A rice gene encoding glycosyl hydrolase plays contrasting roles in immunity depending on the type of pathogens