If the concern is that exceptions can be thrown by the API, catch SoftLayer.SoftLayerError.
If the concern is that parse_rules would throw an error, I think that's just a bug that should be fixed.