getting the signing rules from SQL DB works