Added validation checks,CSS rules