Made toString in RuleStatement slightly more efficient.