How to assign the leave rules to the new employee
Navigate to Leave >> Rules >> Assign rules>> Choose all the leave types which the employee is applicable for >> The effective date should be the date of joining >> Save.
[Date of Joining because to leave calculated according to the pro database]