Rule class built with validations. Constraints class in progress.