Simplify #write call in Rules