How to setup attendance rules?
Please click on attendance>>Attendance rules and in this section, you can find 2 options that are General and advanced settings