# In keeping with the decrees of his father David
"According to the decrees of his father David" or "As his father David had decreed"
# He also appointed the gatekeepers by their divisions to every gate
"He also appointed groups of gatekeepers to each gate"
# gatekeepers
These were Levites who guarded the gates and only let inside those who had permission to go inside.