Add lineExistsInContainer helper to check for existing rules before insertion, making InsertPreroutingRuleInContainer and InsertPostroutingMasqueradeInContainer idempotent. Change cleanup errors from fatal to warnings for better fault tolerance.