Set regulations link CSS class according to
the file extension