Add API endpoint for applied rules; fixed SOH