Fix a typo in rule saving
Fix correct detection of UDP protocol in the chain

The kernel API changed the return value of function xt_mtchk from int into bool, reversing the logic. This commit hopefully fixes it for both cases. An error message is also added when module is added to a non-UDP rule.