A very simple format rule
<options>
<breaksComma>oracle.dbtools.app.Format.Breaks.Before</breaksComma>
</options>
works for format buffer but doesn't work for format file.
Download attached test.zip, unzip it and than run
sql.exe any_user/password @test.run
and you will see that format buffer works fine while format file works with default rules.