luci-app-firewall: support 'direction' and 'device' parameters for rules