```ruby
module PfrpgCore
  module Filters
    class WeaponFinesseMod
      attr_reader :character
      def initialize(character)
        @character = character
      end

      def filter(attack)
        if character.feats.find { |x| x.name == 'Weapon Finesse' }
          modify_attack_for_weapon_finesse(attack, character.attributes.dex_mod, character.attributes.str_mod)
        end
      end

      def modify_attack_for_weapon_finesse(attack, dex, str)
        if attack.weight_class == 'light' || attack.weight_class == 'natural'
          attack.filter_str << "Weapon Finesse: -#{dex}, +#{str}"
          attack.other_bonus += dex
          attack.other_bonus -= str
        end
      end
    end
  end
end
```

Add Rapier to list of supported weapons in Weapon Finesse - it is not a light weapon but still gets weapon finesse
user
```ruby
module PfrpgCore
  module Filters
    class WeaponFinesseMod
      attr_reader :character
      def initialize(character)
        @character = character
      end

      def filter(attack)
        if character.feats.find { |x| x.name == 'Weapon Finesse' }
          modify_attack_for_weapon_finesse(attack, character.attributes.dex_mod, character.attributes.str_mod)
        end
      end

      def modify_attack_for_weapon_finesse(attack, dex, str)
        if attack.weight_class == 'light' || attack.weight_class == 'natural' || attack.weapon_name['Rapier']
          attack.filter_str << "Weapon Finesse: -#{dex}, +#{str}"
          attack.other_bonus += dex
          attack.other_bonus -= str
        end
      end
    end
  end
end
```
assistant