Revert "Use the proper rewrite syntax instead of classnames"

This reverts commit 71321c8b1be8cb1d97d927c018f7fec8229727f8.