Added rule id to better identify which rule is being used to match a transaction.

Fixed a bug with context menu deselecting