Add tests and ability to have nested rules for sub-properties
Finish nested properties