i thank the pound symbol in the rule name was causing the problem.
I changed:
$_SESSION['shipName'] .= "".$LEDCart->RuleLooperName("Shipping")." ";
to:
$_SESSION['shipName'] .= "".htmlentities($LEDCart->RuleLooperName("Shipping"))." ";
I think that should fix it.