Implementing rule type to check for the presence (or absence) of fields

Fixes #418