The Legislation and Rulings of Enjoining Good Deeds and Prohibiting Bad Acts