Add validations and CSS to relief rate calulation