[#82270008] added betting_rules and unit tests