The examples below show an stub rule from a shared library rule. The first uses multiple metadata keywords, the second a single metadata keyword, with keys separated by commas.
metadata:key1 value1; metadata:key1 value1, key2 value2;