Remove unnecessary cast.
Added class for rule editing.

Allowing for better feedback than doing it throug the server service.
Provide some feedback when editing rules.
Rearrange layout to make the combobox show.

Due to the problem with comboboxes at the bottom of FrameWindows.