Things that act the same way, for example, contagious diseases all spread the same way, so the same steps to prevent one, would prevent a new, unfamiliar one, too. That is not what the SA refers to. Btw, see the MA in Hilchos Shabbos on this, too. Also, SA and Shach in YD.