expose method to get all rules