add initial rules engine section to writeup