This workflow is pretty much self explanatory. To set the rating of the currently playing track just type sw
followed by the desired value.
The currently playing track will be assigned the specified rating and a notification will be displayed to confirm the event.
Example: sw 2
rates currently playing track with 2 stars.