Closes Issue #1326. Also added a validation rule and RBkey