rules split to separate module; patterns cat be read from file