Removed some trailing spaces
Fix lots of trailing spaces in mkeventd
EC: rule simulator honors timeperiods now