Abdul Rahman Bin Ahmad, Civil Servant