Added todo
Semi-working rules GUI