Remove unreferenced fragment rules
Do not require escape for $ in action when not followed by an ID start char (fixes #176)