Spraying rice plants to control pests and diseases