Fix deserialization of RegEx enabled properties

Fix type mismatch for RegEx (introduced in 6e50301 - my bad, sorry)
Add/move dynamic classes for targeting of custom behavior