move Rule.java and Construction.java into package 'rule'