Baking soda is the best anti-rust formula to keep window grills from rusting. Mix it with water to curate a thick blend. Apply it in equal numbers, and keep it open for a few hours. Then wash it with water and dry the grill completely.