The rating on a switch (of any kind) indicate the test conditions that were used under typical operation. It tells you that the contacts will operate properly under the given situation. Many will give both an AC and a DC specification. Again, just for typical usage. As long as you don't go over the rating, you're okay.