If your grates are enamel over sheetmetal, and the enamel is flaking, you might be best served by replacing them. If you can wire brush off the flaking enamel then you can preserve the steel by oiling them much like you would cast iron.
If the grates are cast iron, and they aren't rusted to...