Removed rules code that was unfinished