Improved parameter parsing for validation rules