Fixes #127: Optional string regex-based rule throws if key is missing

See Issue #127