Add rewrite rule to access metadata record by resource identifier (#3).