var Number bright
val makes it a constant (see this).
Unless you need to use this variable in other rules it would be better to define it inside your rule.
You may need to round the value as well, so your rule could look like this:
rule "Test"
when
Item Ikea_dimmer_hellig_Wohnz changed
then
var Number bright = Ikea_dimmer_hellig_Wohnz.state as Number
bright = (bright / 255) * 100
sendCommand(Wohnz_Lampen_Dimmer, bright.intValue) // value between 0..100 needed
end
I have updated the rule with the remark from Rich. I have also tested this and it works as intended, so either add logging or check the event.log which state Ikea_dimmer_hellig_Wohnz gets when you control your Ikea dimmer .