No, it is not based on the set phrases: they are too much. Russians usually do not make mistakes with this rule so one can say this is "just any time you feel like".
In the MS Office grammar rules it is called: беглая гласная "о" в предлогах. Though I did not found full formulation.