Typically, pasta that is being used for hot dishes should not be rinsed after cooking as the starch is what helps sauces thicken and adhere. However, in the case of cold pasta salad, you'll want to "shock" the pasta to help stop the cooking process and ensure that the pasta doesn't overcook.  To do this, fill a large pot or bowl with ice water. When the pasta is cooked to the desired doneness, drain it into a strainer, give it a quick rinse in cold running water, and then plunge the pasta into the ice water for a few minutes. Not only will this stop any residual cooking, but it will also cool the pasta down faster. Once cooled, drain again, removing as much water as possible and place in a bowl.