Parser that applies the Problem Solving Card Text rules to a string