created functions that group the creation of URL rules