Linking ipset into Shorewall

You can’t and you don’t need to, Shorewall takes cares of the logic and add blacklist rules in the right place.
If you really want to put custom rules inside the INPUT table, which is very discouraged, you should use extension scripts: http://shorewall.net/shorewall_extension_scripts.htm