Fix: add "as-needed" option to quote-props rule (fixes #1279)

Fixes #1279.