updating Scan class with docblocks
adding getRules method
abstracting out the fetching of the ini data