Validate rule Advanced Options numeric entries

version of pull request #1021 for 2.1 branch
Merge pull request #1024 from phil-davis/RELENG_2_1

Validate rule Advanced Options numeric entries