%if %[dogctodiff]
%modify
# replace the GC prefix with a difficulty/terrain rating.
gctodiff:
%endif

%if "%[rewriterules]" ne ""
%modify
# Rewrite the description field to include the identifier and cache
# type in the description field (becomes:  "GC1234/Trad: description")
rewrite:%[rewriterules]
%endif

%if %[dosolved]
%modify
solved:
%endif
