There is a very good explanation of racing rules here with pictures. It’s well worth a look and is one of my go-to places when I’m unsure.

There is a very good pocket sized flip book by Bryan Willis available from all good booksellers as well as eBook Its Called Racing Rules 2017-2020