added refid_rules plugin to dist
ensure refid_rule param is set before accessing it from AppConfig
Merge pull request #659 from hudmol/add-refid-rules-plugin-to-dist

merging with 1 additional commit to prevent exceptions when refid_rule param is not set.