Yes; work to rule means you're completing your assigned work strictly as assigned (on your SWF or academic contract), and therefore, you will be paid your full pay. One thing this action will highlight is the amount of unpaid or voluntary work that you actually do in your day-to-day activities.