Use Hazel to rename photos in Apple Photo Library

I just installed Hazel on my M1 MBP and want to rename all my photos in the photo library based off the date the image was taken. Not sure how to create a Hazel rule to do that. Any help would be great!