Thank you Hilary for your answers.
At the end, I migrated the form from web form 2007 to web form and replace the data connection based on the udcx files into a data connection pointing to the library using ordering and filter the values, which wasn't possible with the 2007 version because it didn't have those options and then, republish the form.
From this page, he said the following and I think this is what happened, and some rules are not working properly as before, so, I will have to check this in the future.
http://blogs.perficient.com/microsoft/2013/03/infopath-and-sharepoint-2013-upgrading-your-forms/
"Step 9 – Check your form
I found in one or two cases my data connection filter rules got
corrupted during the migration and I had to delete / re-create them.
Double check your filters and rules to make sure everything is working
properly."
Thank you