how many rules are there in basketball