Implemented Rule editor screen with flow layout