Advanced rules

PLEASE READ:
This pull request does not implement advanced rules yet. It is made to make some interface fixes:
(better aligned condition, and removed value slider)
DO NOT DELETE branch after merge