Split total energy hour by hour

I just found this rule:

but I don’t really understand how I integrate it in my config. Should I juste cut/paste it in a fresh rule code section? What Am I supposed to see, once I configured the monitoring item?