DTM doesn't natively contain a toLowercase function. Thankfully, JavaScript does, and it can be implemented fairly easily. As far as how long it takes, it should be almost instantly.
If you have data on the page you are sending via DTM you can simply use a data element to grab that data and send it through Javascript's toLowercase function. For example, if you wanted to use lowercase page names you could create a data element with the following code:
document.title.toLowerCase()
This data element would retrieve the page title and convert it to all lowercase and store the value in your data element. You could then reference that data element in your rules using the data element picker or the % syntax.