I would say Red to Com and other two (Yellow and Blue) to L1 and L2 does not matter which way around as long as Com is correct.
If you look at http://www.ericpalmer.fsnet.co.uk/Lighting.html this shows a number of diagrams to how two way switches are wired if you want to understand what you are doing.
I am assuming standard wiring and the red wire in pull switch is also wired to com. It is simply like for like with the methods I show.
DIY how to tutorial projects and guides - Did you know we have a DIY Projects section? Well, if no, then we certainly do! Within this area of our site have literally hundreds of how-to guides and tutorials that cover a huge range of home improvement tasks. Each page also comes with pictures and a video to make completing those jobs even easier!