Support for element hiding rules, fixes #206

including exceptions