It is acceptable to have a 15A switch controlling a lighting load that is supplied by a 20A OCD as long as the lighting load on that switch is 15A or less.2002 NEC 404.14 Rating and Use of Snap Switches.
Snap switches shall be used within their ratings and as indicated in 404.14(A) through (D).